# @summary A short summary of the purpose of this class
#
# A description of what this class does
#
# @example
#   include csns::dgnfs
class csns::dgnfs (
){
    class { '::csns::dgnfs::param':
	dgnfs => true,
    }
#include csns::slurm
#	class {'csns::slurm':
	
#	}
	class { '::nfs':
      server_enabled => false,
      client_enabled => true,
      client_nfs_options => 'defaults',
    }
#    nfs::client::mount { '/dg_hpc':
#        server => 'dgdkx01.csns.ihep.ac.cn',
#        share => '/hpc',
#    }
	
#    nfs::client::mount { '/dg_workfs_old':
#        server => 'dgdkx02.csns.ihep.ac.cn',
#        share => '/dg_workfs',
#    }

    nfs::client::mount { '/dg_workfs':
        server => 'workfs.domain',
        share => '/workfs',
        options_nfs => 'vers=3',
	    #nfs_v4 => true,
	    #options_nfsv4 => 'defaults',
    }
} 

class csns::dgnfs::param(
	$dgnfs = $csns::slurm::install::dgnfs
	
){
}
